'use strict';

/** @type {import('sequelize-cli').Migration} */
module.exports = {
    async up(queryInterface, Sequelize) {
        await queryInterface.bulkInsert('Categories', [
            {
                title: "一、基本医疗保险参保和变更登记",
                createdAt: new Date(),
                updatedAt: new Date()
            },
            {
                title: "二、基本医疗保险参保信息查询",
                createdAt: new Date(),
                updatedAt: new Date()
            },
            {
                title: "三、基本医疗保险关系转移接续",
                createdAt: new Date(),
                updatedAt: new Date()
            },
            {
                title: "四、基本医疗保险参保人员异地就医备案",
                createdAt: new Date(),
                updatedAt: new Date()
            },
            {
                title: "五、基本医疗保险参保人员享受门诊慢特病病种待遇认定",
                createdAt: new Date(),
                updatedAt: new Date()
            },
            {
                title: "六、基本医疗_生育_保险参保人员医疗费用手工_零星_报销",
                createdAt: new Date(),
                updatedAt: new Date()
            },
            {
                title: "七、生育保险待遇核准支付",
                createdAt: new Date(),
                updatedAt: new Date()
            },
            {
                title: "八、医疗救助对象待遇核准支付",
                createdAt: new Date(),
                updatedAt: new Date()
            },
            {
                title: "十、定点医药机构费用结算",
                createdAt: new Date(),
                updatedAt: new Date()
            },
            {
                title: "十一、医疗保险缴费基数申报",
                createdAt: new Date(),
                updatedAt: new Date()
            },
            {
                title: "十二、参保单位_职工_应缴医疗保险费核定",
                createdAt: new Date(),
                updatedAt: new Date()
            },
            {
                title: "十三、长期护理保险待遇核准支付",
                createdAt: new Date(),
                updatedAt: new Date()
            },
            {
                title: "十八、新增事项",
                createdAt: new Date(),
                updatedAt: new Date()
            },
            {
                title: "十九、其他",
                createdAt: new Date(),
                updatedAt: new Date()
            }
        ], {});
    },

    async down(queryInterface, Sequelize) {
        await queryInterface.bulkDelete('Categories', null, {});
    }
};
